# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname=hiprompt-gtk-py
pkgver=0.8.0
pkgrel=0
pkgdesc="A GTK+ Himitsu prompter for Wayland"
url="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py"
arch="noarch"
license="GPL-3.0-or-later"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/hiprompt-gtk-py/archive/$pkgver.tar.gz"
depends="python3 py3-gobject3 gtk+3.0"
makedepends="py3-setuptools glib-dev meson ninja"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	meson test --no-rebuild -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
1777503a41769826df7b033e518b42e16e9298e40905ccb9adf4e58bb883c9ed9b6795593064b70c527eb02f73e39c76ba2cf8d4df8316ea9c12fef90863abb1  hiprompt-gtk-py-0.8.0.tar.gz
"
